package com.byapp.fast.modules.order.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@TableName("t_order")
@Data
@Accessors(chain = true)
public class OrderEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String orderId;

    private Double buyMoney;

    private String buyUser;

    private Integer orderStatus = 0;

    private Integer payStatus = 0;

    private String payType;

    private String clientOs;

    private String buyChannel;

    private String ip;

    private String deviceCode;

    private String userAgent;

}
